package com.dcivision.setup.web;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

import com.dcivision.user.web.ListUserRecordForm;

public class ListPasswordForm extends ListUserRecordForm {
	public static final String REVISION = "$Revision: 1.3.2.1 $";
	
	private String loginPwd;
	private String loginPwd2;
	private String maxAttempt;
	private String pwdExpiryDay;
	private String sendMail;
	
  public ListPasswordForm(){
    this.addSearchableAttribute("userGroupID");
    this.addSearchableAttribute("userRoleID");    
  }
	public String getMaxAttempt() {
		return maxAttempt;
	}
	public void setMaxAttempt(String maxAttempt) {
		this.maxAttempt = maxAttempt;
	}
	public String getPwdExpiryDay() {
		return pwdExpiryDay;
	}
	public void setPwdExpiryDay(String pwdExpiryDay) {
		this.pwdExpiryDay = pwdExpiryDay;
	}
	public String getLoginPwd() {
		return loginPwd;
	}
	public void setLoginPwd(String loginPwd) {
		this.loginPwd = loginPwd;
	}
	public String getLoginPwd2() {
		return loginPwd2;
	}
	public void setLoginPwd2(String loginPwd2) {
		this.loginPwd2 = loginPwd2;
	}
	
	public void reset(ActionMapping mapping, HttpServletRequest request) {
    super.reset(mapping, request);
    this.loginPwd="";
    this.loginPwd2="";
    this.maxAttempt="";
    this.pwdExpiryDay="";
    this.sendMail="";
  }
	public String getSendMail() {
		return sendMail;
	}
	public void setSendMail(String sendMail) {
		this.sendMail = sendMail;
	}
}
